using System;
using System.Collections.Generic;
using System.Text;

namespace MM.Entities
{
    public class CHI_TIET_PDH
    {
        protected int _id;
        protected string _pOThamChieuSAP = String.Empty;
        protected string _maThietBi = String.Empty;
        protected float _soLuong;
        protected int _tinhTrang;
        protected DateTime _ngayGiaoHang;
        protected int _maTrangThai = 0;
        protected int _POItem_No = 0;

        protected string _MaPhieuYeuCau = "";
        protected string _tenVTPT = String.Empty;
        protected string _tenTrangThai = "";

        protected DateTime _ngayTao;
        protected string _nguoiTao;

        protected float _soLuongCon = 0;
        protected float _soLuongNhap = 0;
        protected string _maKho = "";
        protected string _itemCategory = "";
        protected string _accAssignment = "";
        protected string _maTaiSan = "";
        protected int _soLuongIn = 0;

        protected string _maNhaSanXuat = "";
        protected string _tenNhaSanXuat = "";
        protected string _cacThuocTinh = "";
        protected string _tenNhomVTPT = "";

        protected THONG_TIN_NHAN _oTTN = new THONG_TIN_NHAN();

        protected List<CHI_TIET_PDH_COMPONENT> _lstComponent = new List<CHI_TIET_PDH_COMPONENT>();

        public CHI_TIET_PDH()
        {
        }

        
        #region Public Properties
        public int MaChiTiet
        {
            get { return _id; }
            set { _id = value; }
        }

        public string POThamChieuSAP
        {
            get { return _pOThamChieuSAP; }
            set { _pOThamChieuSAP = value; }
        }

        public string MaThietBi
        {
            get { return _maThietBi; }
            set { _maThietBi = value; }
        }

        public float SoLuong
        {
            get { return _soLuong; }
            set { _soLuong = value; }
        }

        public int TinhTrang
        {
            get { return _tinhTrang; }
            set { _tinhTrang = value; }
        }

        
        public DateTime NgayGiaoHang
        {
            get { return _ngayGiaoHang; }
            set { _ngayGiaoHang = value; }
        }

        public int MaTrangThai
        {
            get { return _maTrangThai; }
            set { _maTrangThai = value; }
        }

        public int POItem_No
        {
            get { return _POItem_No; }
            set { _POItem_No = value; }
        }

        public string MaPhieuYeuCau
        {
            get { return _MaPhieuYeuCau; }
            set { _MaPhieuYeuCau = value; }
        }
        public string TenVTPT
        {
            get { return _tenVTPT; }
            set { _tenVTPT = value; }
        }
        public DateTime NgayTao
        {
            get { return _ngayTao; }
            set { _ngayTao = value; }
        }

        public string NguoiTao
        {
            get { return _nguoiTao; }
            set { _nguoiTao = value; }
        }

        public string TenTrangThai
        {
            get { return _tenTrangThai; }
            set { _tenTrangThai = value; }
        }

        public float SoLuongCon
        {
            get { return _soLuongCon; }
            set { _soLuongCon = value; }
        }

        public float SoLuongNhap
        {
            get { return _soLuongNhap; }
            set { _soLuongNhap = value; }
        }

        public string MaKho
        {
            get { return _maKho; }
            set { _maKho = value; }
        }

        public string ItemCategory
        {
            get { return _itemCategory; }
            set { _itemCategory = value; }
        }

        public string AccAssignment
        {
            get { return _accAssignment; }
            set { _accAssignment = value; }
        }

        public string MaTaiSan
        {
            get { return _maTaiSan; }
            set { _maTaiSan = value; }
        }

        public List<CHI_TIET_PDH_COMPONENT> lstComponent
        {
            get { return _lstComponent; }
            set { _lstComponent = value; }
        }

        public THONG_TIN_NHAN oThongTinNhan
        {
            get { return _oTTN; }
            set { _oTTN = value; }
        }

        public int SoLuongIn
        {
            get { return _soLuongIn; }
            set { _soLuongIn = value; }
        }

        public string MaNhaSanXuat
        {
            get { return _maNhaSanXuat; }
            set { _maNhaSanXuat = value; }
        }

        public string TenNhaSanXuat
        {
            get { return _tenNhaSanXuat; }
            set { _tenNhaSanXuat = value; }
        }

        public string TenCacThuocTinh
        {
            get { return _cacThuocTinh; }
            set { _cacThuocTinh = value; }
        }

        public string TenNhomVTPT
        {
            get { return _tenNhomVTPT; }
            set { _tenNhomVTPT = value; }
        }
        #endregion
    }
}
